<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="x" uri="/WEB-INF/tags/coretag.tld" %>
<%@ taglib prefix="u" tagdir="/WEB-INF/tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <%@ include file="/WEB-INF/include/include.jsp" %>
  </head>
  
  <body> 
  <script type="text/javascript">
  	function btnAdd(){
  		alert("add");
  	}
  	function btnEdit(){
  		alert("edit");
  	}
  </script>
  <div id="toolbar"></div>
  <div id="toolbar2"></div>
  

  	
  <u:page>  

  	<u:toolbar renderTo="toolbar2">
  		<x:attr name="region">east</x:attr>
		<x:items>
		  	<u:button text="新增1" iconCls="icon-add" >
	  			<x:handler name="handler" funcName="btnAdd"></x:handler>
	  		</u:button> 
			 <u:button text="新增2" iconCls="icon-add" >
	  			<x:handler name="handler" funcName="btnAdd"></x:handler>
	  		</u:button> 
		</x:items>
  	</u:toolbar>
  </u:page>
  
  </body>
</html>
